
package com.ktgj.common.spring.entity.iata.iata_seatavailabilityrq;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>ShoppingCriteriaType complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType name="ShoppingCriteriaType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="CabinTypeCriteria" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_SeatAvailabilityRQ}CabinTypeType" maxOccurs="unbounded" minOccurs="0"/&gt;
 *         &lt;element name="SeatCriteria" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_SeatAvailabilityRQ}SeatType" maxOccurs="unbounded" minOccurs="0"/&gt;
 *         &lt;element name="ServiceCriteria" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_SeatAvailabilityRQ}ServiceCriteriaType" minOccurs="0"/&gt;
 *         &lt;element name="TripPurposeCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ShoppingCriteriaType", propOrder = {
    "cabinTypeCriteria",
    "seatCriteria",
    "serviceCriteria",
    "tripPurposeCode"
})
public class ShoppingCriteriaType {

    @XmlElement(name = "CabinTypeCriteria")
    protected List<CabinTypeType> cabinTypeCriteria;
    @XmlElement(name = "SeatCriteria")
    protected List<SeatType> seatCriteria;
    @XmlElement(name = "ServiceCriteria")
    protected ServiceCriteriaType serviceCriteria;
    @XmlElement(name = "TripPurposeCode")
    protected String tripPurposeCode;

    /**
     * Gets the value of the cabinTypeCriteria property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the cabinTypeCriteria property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getCabinTypeCriteria().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link CabinTypeType }
     * 
     * 
     */
    public List<CabinTypeType> getCabinTypeCriteria() {
        if (cabinTypeCriteria == null) {
            cabinTypeCriteria = new ArrayList<CabinTypeType>();
        }
        return this.cabinTypeCriteria;
    }

    /**
     * Gets the value of the seatCriteria property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the seatCriteria property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getSeatCriteria().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link SeatType }
     * 
     * 
     */
    public List<SeatType> getSeatCriteria() {
        if (seatCriteria == null) {
            seatCriteria = new ArrayList<SeatType>();
        }
        return this.seatCriteria;
    }

    /**
     * 获取serviceCriteria属性的值。
     * 
     * @return
     *     possible object is
     *     {@link ServiceCriteriaType }
     *     
     */
    public ServiceCriteriaType getServiceCriteria() {
        return serviceCriteria;
    }

    /**
     * 设置serviceCriteria属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link ServiceCriteriaType }
     *     
     */
    public void setServiceCriteria(ServiceCriteriaType value) {
        this.serviceCriteria = value;
    }

    /**
     * 获取tripPurposeCode属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTripPurposeCode() {
        return tripPurposeCode;
    }

    /**
     * 设置tripPurposeCode属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTripPurposeCode(String value) {
        this.tripPurposeCode = value;
    }

}
